package com.delistry;

import java.util.logging.Logger;

import com.delistry.server.ServiceServer;

public class Server {
	/** 紀錄用 */
	@SuppressWarnings("unused")
	private static Logger _log = Logger.getLogger(Server.class.getName());

	public static void main(String[] args) throws Exception {

		// DatabaseFactory初期設定
		// DatabaseFactory.getInstance();
		// DatabaseFactory.InitialDBTable();

		ShutDownHandler.getInstance().initialize();

		// DatabaseInsertor.InsertAccount(null);
		/** 初始化並啟動Service Server */
		ServiceServer.getInstance().initialize();

	}
}